package main

import (
	"exp1/appConfig"
	"exp1/cache"
	"exp1/models"
	_ "exp1/routers"
	beego "github.com/beego/beego/v2/server/web"
)

func main() {

	//获取配置
	appConfig.Init()
	//连接mysql
	models.Init()
	//链接redis
	cache.Init()
	//运行项目
	beego.Run()
}
